package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

public class Shopcard1 implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer commodityid;

    private Integer number;

    private Integer relaid;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCommodityid() {
        return commodityid;
    }

    public void setCommodityid(Integer commodityid) {
        this.commodityid = commodityid;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Integer getRelaid() {
        return relaid;
    }

    public void setRelaid(Integer relaid) {
        this.relaid = relaid;
    }

    @Override
    public String toString() {
        return "Shopcard1{" +
                "id=" + id +
                ", commodityid=" + commodityid +
                ", number=" + number +
                ", relaid=" + relaid +
                "}";
    }
}
